package ca.magex.gps.entity.impl;

public abstract class PersistentObject {

	private Integer pid;

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}
	
	public void setPid(int pid) {
		setPid(new Integer(pid));
	}
	
	public boolean isPersisted() {
		return pid != null;
	}
	
}
